<template>
  <el-row :gutter="32" class="panel-group">
    <el-col :xs="24" :sm="24" :lg="6" class="card-panel-col">
      <div class="card-panel" @click="turnto_tableone">
        <div class="card-panel-description">
          <!-- <div class="card-panel-text">
            毕业生去向分布情况
          </div> -->
        </div>
        <tableone />
      </div>
    </el-col>
    <el-col :xs="24" :sm="24" :lg="6" class="card-panel-col">
      <div class="card-panel" @click="turnto_tabletwo">
        <div class="card-panel-description">
          <div class="card-panel-text">签协议和合同就业毕业生单位性质</div>
        </div>
        <tabletwo />
      </div>
    </el-col>
    <el-col :xs="24" :sm="24" :lg="6" class="card-panel-col">
      <div class="card-panel" @click="turnto_tablethree">
        <div class="card-panel-description">
          <div class="card-panel-text">签协议和合同就业毕业生单位行业分布</div>
        </div>
      </div>
    </el-col>
    <el-col :xs="24" :sm="24" :lg="6" class="card-panel-col">
      <div class="card-panel" @click="turnto_tablefour">
        <div class="card-panel-description">
          <div class="card-panel-text">就业地域分布</div>
        </div>
      </div>
    </el-col>
  </el-row>
</template>

<script>
import tableone from "./tableone.vue";
import tabletwo from "./tabletwo.vue";

export default {
  components: {
    tableone,
    tabletwo,
  },
  methods: {
    turnto_tableone() {
      this.$router.push("/one");
    },
    turnto_tabletwo() {
      this.$router.push("/two");
    },
    turnto_tablethree() {
      this.$router.push("/three");
    },
    turnto_tablefour() {
      this.$router.push("/four");
    },
  },
};
</script>

<style scoped>
.panel-group {
  margin-top: 18px;
  background: rgb(240, 242, 245);
}
.panel-group .card-panel-col {
  margin-bottom: 32px;
  background: rgb(240, 242, 245);
}
.panel-group .card-panel {
  height: 400px;
  cursor: pointer;
  font-size: 12px;
  position: relative;
  overflow: hidden;
  color: #666;
  background: #fff;
  box-shadow: 4px 4px 40px rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.05);
}
.panel-group .card-panel .card-panel-icon-wrapper {
  color: #fff;
  float: left;
  margin: 14px 0 0 14px;
  padding: 16px;
  transition: all 0.38s ease-out;
  border-radius: 6px;
}

.panel-group .card-panel .card-panel-icon {
  float: left;
  font-size: 48px;
}
.panel-group .card-panel .card-panel-description {
  float: right;
  font-weight: bold;
  margin: 26px;
  margin-left: 0px;
}

.panel-group .card-panel .card-panel-text {
  line-height: 18px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 16px;
  margin-bottom: 12px;
}

.panel-group .card-panel .card-panel-num {
  font-size: 20px;
}
</style>
